package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP-合同借阅
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_contract_borrow")
@ApiModel(value = "ErpContractBorrow对象", description = "ERP-合同借阅")
public class ErpContractBorrow implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("数据id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("流程审批实例id")
    private Integer osInstanceId;

    @ApiModelProperty("合同台账id")
    private Integer contractBookId;

    @ApiModelProperty("审批状态 1-审批中 2-借阅中 3-未归还 4-已归还 5-未通过")
    private Integer status;

    @ApiModelProperty("借阅方式")
    private Integer borrowType;

    @ApiModelProperty("借阅结束时间")
    private Date borrowEndTime;

    @ApiModelProperty("借阅时间")
    private Integer borrowTime;

    @ApiModelProperty("借阅理由")
    private String borrowReason;

    @ApiModelProperty("借阅人id")
    private Integer createUser;

    @ApiModelProperty("借阅人")
    private String createUserName;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
